/**
 * Created by Administrator on 2017/3/28.
 */

var express = require('express');
var router = express.Router();

var checkNotLogin = require('../middlewares/check').checkNotLogin;

// GET /posts/create 发表文章页
router.get('/',checkNotLogin, function(req, res,next) {
    res.render('home');
});

router.get('/apps', checkNotLogin, function(req, res, next) {
    res.render('apps');
});

router.get('/joinus', checkNotLogin, function(req, res, next) {
    res.render('joinus');
});

module.exports = router;
